package com.knowswift.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.knowswift.common.bean.project.po.Module;
import com.knowswift.common.bean.project.vo.ModuleVO;
import com.knowswift.common.common.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface ModuleMapper extends BaseMapper<Module> {
    Page<ModuleVO> getList(@Param("keyword") String keyword, @Param("moduleType") Integer moduleType, @Param("projects") List<String> projects, Page<ModuleVO> page);

    Module getByName(@Param("moduleName") String moduleName);
}